import baseUtils from './base-functions'
import themeUtils from './theme-functions'
import routerUtils from './router-functions'
import mouseUtils from './mouse-functions'
import type { App } from 'vue'

export { themeUtils, routerUtils, mouseUtils, baseUtils }

export default function registerFunctions(app: App) {
  app.config.globalProperties.$baseUtils = baseUtils
  app.config.globalProperties.$themeUtils = themeUtils
  app.config.globalProperties.$routerUtils = routerUtils
  app.config.globalProperties.$mouseUtils = mouseUtils
}
